package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店铺信息对象 t_store
 *
 * @author zhaohs
 * @date 2020-12-31
 */
public class Store extends BaseEntity
{
    private static final long serialVersionUID=1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 状态 */
    @Excel(name = "状态")
    private Integer storeStatus;

    /** 电话 */
    @Excel(name = "电话")
    private String storeTel;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 店铺地址 */
    @Excel(name = "店铺地址")
    private String storeAddress;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String imgUrl;

    /** 主店铺 */
    @Excel(name = "主店铺")
    private Integer storeMaster;

    /** 店铺头像 */
    @Excel(name = "店铺头像")
    private String storeImg;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }
    public void setStoreStatus(Integer storeStatus)
    {
        this.storeStatus = storeStatus;
    }

    public Integer getStoreStatus()
    {
        return storeStatus;
    }
    public void setStoreTel(String storeTel)
    {
        this.storeTel = storeTel;
    }

    public String getStoreTel()
    {
        return storeTel;
    }
    public void setContacts(String contacts)
    {
        this.contacts = contacts;
    }

    public String getContacts()
    {
        return contacts;
    }
    public void setStoreAddress(String storeAddress)
    {
        this.storeAddress = storeAddress;
    }

    public String getStoreAddress()
    {
        return storeAddress;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setStoreMaster(Integer storeMaster)
    {
        this.storeMaster = storeMaster;
    }

    public Integer getStoreMaster()
    {
        return storeMaster;
    }
    public void setStoreImg(String storeImg)
    {
        this.storeImg = storeImg;
    }

    public String getStoreImg()
    {
        return storeImg;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id",getId())
                .append("userId",getUserId())
                .append("storeName",getStoreName())
                .append("storeStatus",getStoreStatus())
                .append("storeTel",getStoreTel())
                .append("contacts",getContacts())
                .append("storeAddress",getStoreAddress())
                .append("imgUrl",getImgUrl())
                .append("storeMaster",getStoreMaster())
                .append("storeImg",getStoreImg())
                .append("createDate",getCreateDate())
                .toString();
    }
}